using InventoryIssue.Dtos;
using InventoryIssue.ErrorCode;
using MediatR;

namespace InventoryIssue.API.Read.Application.Command.Allocate
{
    public class GetOutboundRecordCommand : IRequest<APIPaging<OutboundRecordDto>>
    {
        public int? PageIndex { get; set; } = 1;
        public int? PageSize { get; set; } = 15;
        /// <summary>
        /// 调拨单号
        /// </summary>
        public int? AllocateId { get; set; }
        /// <summary>
        /// 出库日期开始
        /// </summary>
        public DateTime? OutboundDateStart { get; set; }
        /// <summary>
        /// 出库日期结束
        /// </summary>
        public DateTime? OutboundDateEnd { get; set; }
        /// <summary>
        /// 出库仓库
        /// </summary>
        public string? OutboundWarehouse { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }
        /// <summary>
        /// 出库操作人
        /// </summary>
        public string? OutboundOperator { get; set; }
    }
} 